package com.hujiheng.paike.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Course {
    private int courseId;
    @NotBlank(message = "课程名称不能为空")
    private String courseName;
}
